/**
 * 
 */
package com.itboye.core.alert;

import com.itboye.jmsfhz.app.MainApplication;

import android.widget.Toast;

/**
 * @author hebidu
 *
 */
public class ByAlert {
	public static void alert(String info){
		if(info.equals("缺少用户ID")|| info.equals("UID不能为空")){
			Toast.makeText(MainApplication.getContext(), "您还未登录！", 3).show();
		}else
		Toast.makeText(MainApplication.getContext(), info, 3).show();
	}
}
